import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import store from './store'
import { Provider } from 'react-redux'
ReactDOM.render(
  // 使用 Provider 包裹根组件  
  // 传递 store
  <Provider store={ store }>
    <App />
  </Provider>,
  document.getElementById('root')
);

